package com.app.controller;

import com.app.util.PropertiesHelper;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

/**
 * Created by IntelliJ IDEA.
 * User: dourmur
 * Date: 12/7/11
 * Time: 10:46 AM
 * To change this template use File | Settings | File Templates.
 */
public class ConfigurationController extends HttpServlet {

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        PrintWriter out = resp.getWriter();
        out.write(PropertiesHelper.getEnvironment("app.test"));
        out.write(" :Test performed by Murilo");
        out.flush();
        out.close();
    }
}